﻿using Microsoft.AspNetCore.Mvc;
using SqlSugar;

namespace orm.sqlsugar.api.Controllers
{
    /// <summary>
    /// SqlSugar 基础控制器
    /// </summary>
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class SqlSugarBaseController(ISqlSugarClient sqlSugarClient) : ControllerBase
    {
        public ISqlSugarClient SqlSugarClient { get; } = sqlSugarClient;
    }
}
